package training.project.app.service;

import java.util.List;

import training.project.app.domain.UserAccount;
import training.project.app.domain.Flight;
import training.project.app.domain.FlightClient;

public interface FlightService
	{
		List<Flight> getFlighs();

		Flight getFlightById(Integer Id);

		List<Flight> getClientFlighs(UserAccount client);

		public void updateFlight(Flight flight);

		void increasePrice(Flight flight);

		List<FlightClient> getFlightClients(Integer flightId);

		List<Flight> findFlights(String startPlace, String endPlace);

		List<Flight> increasePriceCuzVipAndBaggage(List<Flight> flights,
				Boolean vip, Boolean baggage);

		Flight increasePriceCuzVipAndBaggage(Flight flight, Boolean vip,
				Boolean baggage);

		List<Flight> DoNotShowBookedAndPurchaseFlights(List<Flight> flights,
				Integer userId);
	}
